module.exports = {
  "func-names": 'off',
  //每一行attributes的个数限制
  "vue/max-attributes-per-line": ["error", {
    "singleline": 1,
    "multiline": {
      "max": 1,
      "allowFirstLine": false
    }
  }], 
  //vue组件template属性的顺序
  "vue/attributes-order": "off", 
  "vue/component-name-in-template-casing": ["error", "kebab-case", {
    "ignores": []
  }],
  //闭合标签不单独一行
  "vue/html-closing-bracket-newline": ["error", {
    "singleline": "never",
    "multiline": "never"
  }],
  //HTML 并不支持自闭合的自定义元素——只有官方的“空”元素。
  //https://www.w3.org/TR/html/syntax.html#normal-elements
  "vue/html-self-closing": ["error", {
    "html": {
      "void": "always",
      "normal": "never",
      "component": "never"
    },
    "svg": "always",
    "math": "always"
  }]
}